package com.jiyun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 采购订单表
 * </p>
 *
 * @author 聪哥哥
 * @since 2023-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CaigouOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String orderId;

    private String code;

    private String name;

    /**
     * 订单类型，只能是标准采购单
     */
    private String orderType;

    /**
     * 项目id
     */
    private Integer programId;

    /**
     * 备注
     */
    private String orderRemark;

    /**
     * 供应商id
     */
    private Integer supplierId;

    /**
     * 币种，默认人民币
     */
    private String moneyType;

    /**
     * (订单金额
     */
    private BigDecimal totalMoney;

    /**
     * 预付款
     */
    private BigDecimal preMoney;

    private Date start;

    private Date end;

    private Date signTime;

    /**
     * 状态：默认新建
     */
    private String state;

    /**
     * 计税类型，增值税等
     */
    private String taxType;

    private BigDecimal taxRate;

    /**
     * 采购员
     */
    private String buyerUsername;

    /**
     * 采购部门
     */
    private String dept;


    private String shenheState;


}
